{"ast":null,"code":"import classNames from 'classnames';\nconst InputStatuses = ['warning', 'error', ''];\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n  return classNames({\n    [`${prefixCls}-status-success`]: status === 'success',\n    [`${prefixCls}-status-warning`]: status === 'warning',\n    [`${prefixCls}-status-error`]: status === 'error',\n    [`${prefixCls}-status-validating`]: status === 'validating',\n    [`${prefixCls}-has-feedback`]: hasFeedback\n  });\n}\nexport const getMergedStatus = (contextStatus, customStatus) => customStatus || contextStatus;","map":{"version":3,"names":["classNames","InputStatuses","getStatusClassNames","prefixCls","status","hasFeedback","getMergedStatus","contextStatus","customStatus"],"sources":["/data/messenger.client/node_modules/antd/es/_util/statusUtils.js"],"sourcesContent":["import classNames from 'classnames';\nconst InputStatuses = ['warning', 'error', ''];\nexport function getStatusClassNames(prefixCls, status, hasFeedback) {\n  return classNames({\n    [`${prefixCls}-status-success`]: status === 'success',\n    [`${prefixCls}-status-warning`]: status === 'warning',\n    [`${prefixCls}-status-error`]: status === 'error',\n    [`${prefixCls}-status-validating`]: status === 'validating',\n    [`${prefixCls}-has-feedback`]: hasFeedback\n  });\n}\nexport const getMergedStatus = (contextStatus, customStatus) => customStatus || contextStatus;"],"mappings":"AAAA,OAAOA,UAAU,MAAM,YAAY;AACnC,MAAMC,aAAa,GAAG,CAAC,SAAS,EAAE,OAAO,EAAE,EAAE,CAAC;AAC9C,OAAO,SAASC,mBAAmB,CAACC,SAAS,EAAEC,MAAM,EAAEC,WAAW,EAAE;EAClE,OAAOL,UAAU,CAAC;IAChB,CAAE,GAAEG,SAAU,iBAAgB,GAAGC,MAAM,KAAK,SAAS;IACrD,CAAE,GAAED,SAAU,iBAAgB,GAAGC,MAAM,KAAK,SAAS;IACrD,CAAE,GAAED,SAAU,eAAc,GAAGC,MAAM,KAAK,OAAO;IACjD,CAAE,GAAED,SAAU,oBAAmB,GAAGC,MAAM,KAAK,YAAY;IAC3D,CAAE,GAAED,SAAU,eAAc,GAAGE;EACjC,CAAC,CAAC;AACJ;AACA,OAAO,MAAMC,eAAe,GAAG,CAACC,aAAa,EAAEC,YAAY,KAAKA,YAAY,IAAID,aAAa"},"metadata":{},"sourceType":"module"}